package com.brillilab.dao.mapper.inventory;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.inventory.InventoryShare;
import com.brillilab.domain.po.inventory.ReagentInventory;
import com.brillilab.domain.vo.inventory.InventoryShareVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wuzhiyu
 * @Title: InventoryShareMapper
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2018/11/209:31
 */
public interface InventoryShareMapper  extends BaseMapper<InventoryShare> {
    List<ReagentInventory> getShareToMeInventoryList(@Param("labMemberId") Long labMemberId, @Param("shareState") Integer shareState, @Param("inventoryIsDelete") Integer inventoryIsDelete);
    Integer insertList(List<InventoryShare> list);
    List<InventoryShareVo> getMyShareList(Long labMemberId);
}
